package com.whisper.common.exception.operate;

import com.whisper.common.exception.base.BaseException;

import static com.whisper.common.constant.ErrorCodeConstants.OPERATE_EXCEPTION;

public class OperateException extends BaseException {
    private static final long serialVersionUID = 1L;

    public OperateException(String msg, Object[] args)
    {
        super(OPERATE_EXCEPTION, null, args, msg);
    }

    public OperateException(String code, String msg, Object[] args)
    {
        super(OPERATE_EXCEPTION, code, args, msg);
    }

    public OperateException(String msg)
    {
        super(OPERATE_EXCEPTION, null, null, msg);
    }

    public OperateException()
    {
        super(OPERATE_EXCEPTION, OPERATE_EXCEPTION, null, null);
    }
}
